import { Nodes, dom } from '@knno/dom';
import { captionStyle, cardStyle } from './card.css';

export function card(...className: string[]): Nodes {
	return dom.div().class([cardStyle, ...className]);
}

export function caption(...className: string[]): Nodes {
	return dom.h4().class([captionStyle, ...className]);
}
